package com.fang.springcrud.resp;

import java.util.HashMap;

public class BaseResponse extends HashMap<String, Object> {

    public BaseResponse(int code) {
        this.set("code", code);
    }

    public BaseResponse set(String key, Object param) {
        put(key, param);
        return this;
    }


}
